﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Edit_Job.ascx.cs" Inherits="TuyenDungViecLam.User_control_VN.Edit_Job" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="tk" %>
<div class="art-Block">
    <div class="art-Block-tl">
    </div>
    <div class="art-Block-tr">
    </div>
    <div class="art-Block-bl">
    </div>
    <div class="art-Block-br">
    </div>
    <div class="art-Block-tc">
    </div>
    <div class="art-Block-bc">
    </div>
    <div class="art-Block-cl">
    </div>
    <div class="art-Block-cr">
    </div>
    <div class="art-Block-cc">
    </div>
    <div class="art-Block-body">
        <div class="art-BlockHeader">
            <div class="art-header-tag-icon">
                <div class="t">
                    Chi tiết công việc</div>
            </div>
        </div>
        <div class="art-BlockContent">
            <asp:DataList ID="DLCongViec" runat="server" OnItemCommand="DLCongViec_ItemCommand">
                <ItemTemplate>
                    <table width="725" cellpadding="5px" cellspacing="5px">
                        <tr>
                            <td style="width: 200px" align="right" valign="top">
                                Chức danh :&nbsp;&nbsp;&nbsp
                            </td>
                            <td>
                                <asp:Label ID="Label2" runat="server" Text='<%# Eval("ChucDanh") %>' Font-Bold="true"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 200px" align="right" valign="top">
                                Mô tả công việc :&nbsp;&nbsp;&nbsp
                            </td>
                            <td>
                                <asp:Label ID="lbtomtat" runat="server" Text='<%# Eval("MoTaCongViec").ToString().Replace("\r\n", "<br />") %>'></asp:Label>
                                <center style="padding-bottom: 3px; padding-top: 5px">
                                    <hr style="border-color: #999999 -moz-use-text-color -moz-use-text-color; border-right: 0 none;
                                        border-style: dotted none none; border-width: 1px 0 0; height: 0.1em; width: 90%;" />
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 200px" align="right" valign="top">
                                Yêu cầu chung :&nbsp;&nbsp;&nbsp
                            </td>
                            <td>
                                <asp:Label ID="Label8" runat="server" Text='<%# Eval("YeuCauCongViec").ToString().Replace("\r\n", "<br />") %>'></asp:Label>
                                <center style="padding-bottom: 3px; padding-top: 5px">
                                    <hr style="border-color: #999999 -moz-use-text-color -moz-use-text-color; border-right: 0 none;
                                        border-style: dotted none none; border-width: 1px 0 0; height: 0.1em; width: 90%;" />
                                </center>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 200px" align="right" valign="top">
                                Nhận hồ sơ bằng ngôn ngữ :&nbsp;&nbsp;&nbsp
                            </td>
                            <td>
                                <asp:Label ID="Label15" runat="server" Text='<%# Eval("NgonNgu") %>'></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 200px" align="right" valign="top">
                                Cấp bậc :&nbsp;&nbsp;&nbsp
                            </td>
                            <td>
                                <asp:Label ID="Label1" runat="server" Text='<%# Eval("CapBac") %>'></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 200px" align="right" valign="top">
                                Ngành nghề :&nbsp;&nbsp;&nbsp
                            </td>
                            <td>
                                <asp:BulletedList ID="blnganhnghe" runat="server">
                                </asp:BulletedList>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 200px" align="right" valign="top">
                                Mức lương :&nbsp;&nbsp;&nbsp
                            </td>
                            <td>
                                <asp:Label ID="Label17" runat="server" Text='<%# Eval("MucLuong") %>'></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 200px" align="right" valign="top">
                                Số năm kinh nghiệm :&nbsp;&nbsp;&nbsp
                            </td>
                            <td>
                                <asp:Label ID="tbsonamkinhnghiem" runat="server" Text='<%# Eval("NamKinhNghiem") %>'></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 200px" align="right" valign="top">
                                Loại hình công việc :&nbsp;&nbsp;&nbsp
                            </td>
                            <td>
                                <asp:Label ID="Label14" runat="server" Text='<%# Eval("TenLoaiHinhCongViec") %>'></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            </td>
                            <td align="right">
                                <asp:ImageButton ID="ImageButton1" CommandName="Edit" runat="server" ImageUrl="~/images/page-edit-icon.png"
                                    Width="32px" Height="32px" />&nbsp;&nbsp;
                                <asp:ImageButton ID="ImageButton2" runat="server" CommandName="Delete" CommandArgument='<%# Eval("MaCongViec") %>'
                                    OnClientClick="if(!confirm('Bạn không muốn xóa công việc này không ?')) return false;"
                                    ImageUrl="~/images/delete-icon.png" Width="32px" Height="32px" />
                            </td>
                        </tr>
                    </table>
                    <%--<div style="padding-bottom: 5px">
                        <div style="width: 195px; float: left; position: absolute; text-align: right">
                            Chức danh :
                        </div>
                        <div style="width: 520px; margin-left: 200px; padding-left: 10px">
                            <asp:Label ID="Label9" runat="server" Text='<%# Eval("ChucDanh") %>' Font-Bold="true"></asp:Label>
                        </div>
                    </div>
                    <div style="padding-bottom: 5px">
                        <div style="width: 195px; float: left; position: absolute; text-align: right">
                            Mô tả công việc :
                        </div>
                        <div style="width: 520px; margin-left: 200px; padding-left: 10px">
                            <asp:Label ID="lbtomtat" runat="server" Text='<%# Eval("MoTaCongViec").ToString().Replace("\r\n", "<br />") %>'></asp:Label>
                            <center style="padding-bottom: 3px; padding-top: 5px">
                                <hr style="border-color: #999999 -moz-use-text-color -moz-use-text-color; border-right: 0 none;
                                    border-style: dotted none none; border-width: 1px 0 0; height: 0.1em; width: 90%;" />
                            </center>
                        </div>
                    </div>
                    <div style="padding-bottom: 5px">
                        <div style="width: 195px; float: left; position: absolute; text-align: right">
                            Yêu cầu chung :
                        </div>
                        <div style="width: 520px; margin-left: 200px; padding-left: 10px">
                            <asp:Label ID="Label10" runat="server" Text='<%# Eval("YeuCauCongViec").ToString().Replace("\r\n", "<br />") %>'></asp:Label>
                            <center style="padding-bottom: 3px; padding-top: 5px">
                                <hr style="border-color: #999999 -moz-use-text-color -moz-use-text-color; border-right: 0 none;
                                    border-style: dotted none none; border-width: 1px 0 0; height: 0.1em; width: 90%;" />
                            </center>
                        </div>
                    </div>
                    <div style="padding-bottom: 5px">
                        <div style="width: 195px; float: left; position: absolute; text-align: right">
                            Nhận hồ sơ bằng ngôn ngữ :
                        </div>
                        <div style="width: 520px; margin-left: 200px; padding-left: 10px">
                            <asp:Label ID="Label11" runat="server" Text='<%# Eval("NgonNgu") %>'></asp:Label>
                        </div>
                    </div>
                    <div style="padding-bottom: 5px">
                        <div style="width: 195px; float: left; position: absolute; text-align: right">
                            Cấp bậc :
                        </div>
                        <div style="width: 520px; margin-left: 200px; padding-left: 10px">
                            <asp:Label ID="Label12" runat="server" Text='<%# Eval("CapBac") %>'></asp:Label>
                        </div>
                    </div>
                    <div style="padding-bottom: 5px">
                        <div style="width: 195px; float: left; position: absolute; text-align: right">
                            Ngành nghề :
                        </div>
                        <div style="width: 520px; margin-left: 200px; padding-left: 10px">
                            <asp:BulletedList ID="blnganhnghe" runat="server">
                            </asp:BulletedList>
                        </div>
                    </div>
                    <div style="padding-bottom: 5px">
                        <div style="width: 195px; float: left; position: absolute; text-align: right">
                            Mức lương :
                        </div>
                        <div style="width: 520px; margin-left: 200px; padding-left: 10px">
                            <asp:Label ID="Label13" runat="server" Text='<%# Eval("MucLuong") %>'></asp:Label>
                        </div>
                    </div>
                    <div style="padding-bottom: 5px">
                        <div style="width: 195px; float: left; position: absolute; text-align: right">
                            Số năm kinh nghiệm :
                        </div>
                        <div style="width: 520px; margin-left: 200px; padding-left: 10px">
                            <asp:Label ID="tbsonamkinhnghiem" runat="server" Text='<%# Eval("NamKinhNghiem") %>'></asp:Label>
                        </div>
                    </div>
                    <div style="padding-bottom: 5px">
                        <div style="width: 195px; float: left; position: absolute; text-align: right">
                            Loại hình công việc :
                        </div>
                        <div style="width: 520px; margin-left: 200px; padding-left: 10px">
                            <asp:Label ID="Label14" runat="server" Text='<%# Eval("TenLoaiHinhCongViec") %>'></asp:Label>
                        </div>
                    </div>
                    <div style="padding-bottom: 5px">
                        <div style="margin-left: 600px;">
                            <asp:ImageButton ID="ImageButton1" CommandName="Edit" runat="server" ImageUrl="~/images/page-edit-icon.png"
                                Width="32px" Height="32px" />&nbsp;&nbsp;
                            <asp:ImageButton ID="ImageButton2" runat="server" CommandName="Delete" CommandArgument='<%# Eval("MaCongViec") %>'
                                OnClientClick="if(!confirm('Bạn không muốn xóa công việc này không ?')) return false;"
                                ImageUrl="~/images/delete-icon.png" Width="32px" Height="32px" />
                        </div>
                    </div>--%>
                </ItemTemplate>
                <EditItemTemplate>
                    <div style="padding-bottom: 5px">
                        <div style="width: 195px; float: left; position: absolute; text-align: right">
                            Chức danh :
                        </div>
                        <div style="width: 520px; margin-left: 200px; padding-left: 10px">
                            <asp:TextBox ID="tbchucdanh" runat="server" Text='<%# Eval("ChucDanh") %>' Font-Bold="true"
                                Width="507px"></asp:TextBox>
                        </div>
                    </div>
                    <div style="padding-bottom: 5px">
                        <div style="width: 195px; float: left; position: absolute; text-align: right">
                            Mô tả công việc :
                        </div>
                        <div style="width: 520px; margin-left: 200px; padding-left: 10px">
                            <asp:TextBox ID="tbmotacongviec" runat="server" Text='<%# Eval("MoTaCongViec") %>'
                                TextMode="MultiLine" Width="507px" Height="500px"></asp:TextBox>
                            <center style="padding-bottom: 3px; padding-top: 5px">
                                <hr style="border-color: #999999 -moz-use-text-color -moz-use-text-color; border-right: 0 none;
                                    border-style: dotted none none; border-width: 1px 0 0; height: 0.1em; width: 90%;" />
                            </center>
                        </div>
                    </div>
                    <div style="padding-bottom: 5px">
                        <div style="width: 195px; float: left; position: absolute; text-align: right">
                            Yêu cầu chung :
                        </div>
                        <div style="width: 520px; margin-left: 200px; padding-left: 10px">
                            <asp:TextBox ID="tbyeucaucongviec" runat="server" Text='<%# Eval("YeuCauCongViec") %>'
                                Width="507px" TextMode="MultiLine" Height="500px"></asp:TextBox>
                            <center style="padding-bottom: 3px; padding-top: 5px">
                                <hr style="border-color: #999999 -moz-use-text-color -moz-use-text-color; border-right: 0 none;
                                    border-style: dotted none none; border-width: 1px 0 0; height: 0.1em; width: 90%;" />
                            </center>
                        </div>
                    </div>
                    <div style="padding-bottom: 5px">
                        <div style="width: 195px; float: left; position: absolute; text-align: right">
                            Nhận hồ sơ bằng ngôn ngữ :
                        </div>
                        <div style="width: 520px; margin-left: 200px; padding-left: 10px">
                            <asp:TextBox ID="tbngonngu" runat="server" Text='<%# Eval("NgonNgu") %>'></asp:TextBox>
                        </div>
                    </div>
                    <div style="padding-bottom: 5px">
                        <div style="width: 195px; float: left; position: absolute; text-align: right">
                            Cấp bậc :
                        </div>
                        <div style="width: 520px; margin-left: 200px; padding-left: 10px">
                            <asp:DropDownList ID="dlcapbac" runat="server">
                            </asp:DropDownList>
                            <asp:Label ID="lbmacapbac" runat="server" Text='<%# Eval("MaCapBac") %>' Visible="false"></asp:Label>
                        </div>
                    </div>
                    <div style="padding-bottom: 5px">
                        <div style="width: 195px; float: left; position: absolute; text-align: right">
                            Ngành nghề :
                        </div>
                        <div style="width: 520px; margin-left: 200px; padding-left: 10px">
                            Ngành nghề &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Xóa<br />
                            <asp:Repeater ID="rpnganhnghe" runat="server" OnItemDataBound="rpnganhnghe_ItemDataBound">
                                <ItemTemplate>
                                    <asp:DropDownList ID="dlnganhnghe" runat="server">
                                    </asp:DropDownList>
                                    <asp:CheckBox ID="cbxoa" runat="server" />
                                    <asp:Label ID="lbmanganhnghe" runat="server" Text='<%# Eval("MaNganhNghe")%>' Visible="false"></asp:Label><br />
                                </ItemTemplate>
                            </asp:Repeater>
                            <br />
                            <span style="font-weight: bolder">Thêm ngành nghề</span><br />
                            <div style="overflow: auto; height: 150px; width: 350px">
                                <asp:Repeater ID="rpnganhnghe2" runat="server">
                                    <ItemTemplate>
                                        <asp:CheckBox ID="cbchon" runat="server" />&nbsp;
                                        <asp:Label ID="Label2" runat="server" Text=' <%# Eval("TenNganh")%>'></asp:Label>
                                        <asp:Label ID="lbMng" runat="server" Text='<%# Eval("MaNganhNghe") %>' Visible="false"></asp:Label>
                                        <br />
                                    </ItemTemplate>
                                </asp:Repeater>
                            </div>
                        </div>
                    </div>
                    <div style="padding-bottom: 5px">
                        <div style="width: 195px; float: left; position: absolute; text-align: right">
                            Mức lương :
                        </div>
                        <div style="width: 520px; margin-left: 200px; padding-left: 10px">
                            Mô tả mức lương (dạng chữ)<br />
                            <asp:TextBox ID="tbmucluong" runat="server" Text='<%# Eval("MucLuong") %>'></asp:TextBox><br />
                            Mức lương (dạng số nếu có)<br />
                            <asp:TextBox ID="tbluong" runat="server" Text='<%# Eval("Luong") %>'></asp:TextBox><br />
                        </div>
                    </div>
                    <div style="padding-bottom: 5px">
                        <div style="width: 195px; float: left; position: absolute; text-align: right">
                            Số năm kinh nghiệm :
                        </div>
                        <div style="width: 520px; margin-left: 200px; padding-left: 10px">
                            Mô tả số năm kinh nghiệm (dạng chữ)<br />
                            <asp:TextBox ID="tbsonamkinhnghiem" runat="server" Text='<%# Eval("NamKinhNghiem") %>'></asp:TextBox><br />
                            Số năm kinh nghiệm (dạng số nếu có)<br />
                            <asp:TextBox ID="tbsonkn" runat="server" Text='<%# Eval("SoNamKN") %>'></asp:TextBox><br />
                        </div>
                    </div>
                    <div style="padding-bottom: 5px">
                        <div style="width: 195px; float: left; position: absolute; text-align: right">
                            Loại hình công việc :
                        </div>
                        <div style="width: 520px; margin-left: 200px; padding-left: 10px">
                            <asp:DropDownList ID="dlloaihinhcongviec" runat="server">
                            </asp:DropDownList>
                            <asp:Label ID="lbmaloaihinhcongviec" runat="server" Text='<%# Eval("MaLoaiHinhCongViec") %>'
                                Visible="false"></asp:Label>
                        </div>
                    </div>
                    <div style="padding-bottom: 5px">
                        <div style="margin-left: 600px;">
                            <asp:ImageButton ID="ImageButton1" CommandName="Update" runat="server" ImageUrl="~/images/post-accept-icon.png"
                                OnClientClick="if(!confirm('Bạn không muốn cập nhật công việc này không ?')) return false;" />&nbsp;&nbsp;<asp:ImageButton
                                    ID="ImageButton2" runat="server" CommandName="Cancel" ImageUrl="~/images/post-delete-icon.png" />
                        </div>
                    </div>
                </EditItemTemplate>
            </asp:DataList>
        </div>
    </div>
</div>
<br />
<div style="clear: both; float: right; margin-right: 20px">
    <asp:Label ID="lbngaydang" runat="server" Text="Label" Visible="false"></asp:Label>
    Ngày hết hạn đăng :
    <asp:TextBox ID="tbngayhethandang" runat="server" Visible="false"></asp:TextBox>
    <asp:Label ID="lbngayhethandang" runat="server" Visible="false"></asp:Label>
    <%--<asp:TextBox runat="server" ID="tbngayhethan" Text='<%# Eval("NgayHetHanDang") %>' /><br />--%>
    <tk:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="tbngayhethandang"
        CssClass="MyCalendar" Format="d MMMM, yyyy">
    </tk:CalendarExtender>
</div>
<div style="float: right; margin-right: 100px; clear: both">
    <asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="~/images/back-icon.png"
        OnClick="ImageButton3_Click" />
</div>
